
import  urllib.request



httpproxy=urllib.request.ProxyHandler({"http":"yincheng:111111@10.36.132.41:808"})
nohttpproxy=urllib.request.ProxyHandler({}) #空代理
opener=urllib.request.build_opener(nohttpproxy)
request=urllib.request.Request("http://www.baidu.com/") #代理访问，URL必须完整，
response=opener.open(request)
print(response.read())